﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OrderServe
{
    [Serializable]
    public class Good
    {
        string name;
        int num;
        double price;

        public Good()
        {
            this.name = "";
        }

        public Good(string name, int num, double price)
        {
            this.name = name;
            this.num = num;
            this.price = price;
        }

        public string Name { get => name; set => name = value; }
        public int Num { get => num; set => num = value; }
        public double Price { get => price; set => price = value; }
    }
}
